Using Sticky Bits for Wait-Free Synchronization1

نویسنده

  • Serge A. Plotkin
چکیده

In this paper we consider implementation of atomic wait-free objects in the context of a shared-memory multiprocessor. We introduce a new primitive object, the \Sticky-Bit", and show its universality by proving that any safe implementation of a sequential object can be transformed into a wait-free atomic one using only Sticky Bits and safe registers. The Sticky Bit may be viewed as a memory-oriented version of consensus. In particular , the results of this paper imply \universality of consensus" in the sense that given an algorithm to achieve n-processor consensus, we can transform any safe implementation of a sequential object into a wait-free atomic one using polynomial number of additional safe bits. The presented results also imply that the Read-Modify-Write (RMW) hierarchy \col-lapses". More precisely, we show that although an object that supports a 1-bit atomic wait-free RMW is strictly more powerful than safe register and an object that supports 3-valued atomic wait-free RMW is strictly more powerful than 1-bit RMW, the 3-value RMW is universal in the sense that any RMW can be atomically implemented from a 3-value atomic RMW in a wait-free fashion.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimality of Wait-Free Atomic Multiwriter Variables

Known implementations of concurrent wait-free atomic shared multiwriter variables use Θ(n) control bits per subvariable. It has been shown that implementations of sequential time-stamp systems require Ω(n) control bits per subvariable. We exhibit a sequential wait-free atomic shared multiwriter variable construction using log n control bits per subvariable. There arises the question of the opti...

متن کامل

Optimal Wait-free Multireader Registers

Multireader shared registers are basic objects used as communication medium in asynchronous concurrent computation. We propose a scheme to obtain several wait-free constructions of bounded 1-writer multireader registers from atomic 1-writer 1-reader registers, that is easy to prove correct. Our main construction is the first one that is optimal with respect to the worstcase local use of control...

متن کامل

A Randomized Algorithm for Two - ProcessWait - Free Test

The work of Herlihy and Plotkin on universal shared objects shows how to implement arbitrary wait-free read-modify-write objects from a bounded number of shared read/write bits. deterministically in a concurrent setting using only atomic shared variables. We present a simple randomized algorithm for 2-process wait-free test-and-set, implemented with two 4-valued single writer single reader atom...

متن کامل

On the computational complexity of finding a minimal basis for the guess and determine attack

Guess-and-determine attack is one of the general attacks on stream ciphers. It is a common cryptanalysis tool for evaluating security of stream ciphers. The effectiveness of this attack is based on the number of unknown bits which will be guessed by the attacker to break the cryptosystem. In this work, we present a relation between the minimum numbers of the guessed bits and uniquely restricted...

متن کامل

Self-Stabilization of Wait-Free Shared Memory Objects

This paper proposes a general definition of self-stabilizing wait-free shared memory objects. The definition ensures that, even in the face of processor failures, every execution after a transient memory failure is linearizable except for an a priori bounded number of actions. Shared registers have been used extensively as communication medium in self-stabilizing protocols. As an application of...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007